package com.gzbsoft.sc.modules.sys.entity;
import io.ebean.annotation.DocStore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.ebean.domain.AbstractEntity;

import javax.persistence.*;
@DocStore
@Entity
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "jx_user_address")
public class JxUserAddress extends AbstractEntity {
    @ManyToOne(cascade = CascadeType.REFRESH)
    @JoinColumn(name = "user_id")
    private JxUser user;
}
